home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 114 / PC Guia 114.iso / Software / Utils / The Gimp 2.2.1 / gimp-help-2-0.6-setup.exe / {app} / share / gimp / 2.0 / help / en / ch02s04s10.html < prev    next >
Encoding:
Extensible Markup Language  |  2004-12-19  |  8.8 KB  |  207 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>4.10.┬áPatterns</title>
  7.     <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
  8.     <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
  9.     <meta name="generator" content="DocBook XSL Stylesheets V1.66.1" />
  10.     <link rel="start" href="index.html" title="GIMP User Manual" />
  11.     <link rel="up" href="ch02s04.html" title="4.┬áWorking with Images" />
  12.     <link rel="prev" href="ch02s04s09.html" title="4.9.┬áGradients" />
  13.     <link rel="next" href="ch02s04s11.html" title="4.11.┬áPalettes" />
  14.   </head>
  15.   <body>
  16.     <div xmlns="" class="navheader">
  17.       <table width="100%" summary="Navigation header">
  18.         <tr>
  19.           <th colspan="3" align="center" id="chaptername">4.┬áWorking with Images</th>
  20.         </tr>
  21.         <tr>
  22.           <td width="20%" align="left"><a accesskey="p" href="ch02s04s09.html">Prev</a>┬á</td>
  23.           <th width="60%" align="center" id="sectionname">4.10.┬áPatterns</th>
  24.           <td width="20%" align="right">┬á<a accesskey="n" href="ch02s04s11.html">Next</a></td>
  25.         </tr>
  26.       </table>
  27.       <hr />
  28.     </div>
  29.     <div class="sect2" lang="en" xml:lang="en">
  30.       <div class="titlepage">
  31.         <div>
  32.           <div>
  33.             <h3 class="title"><a id="gimp-patterns"></a>4.10.┬áPatterns</h3>
  34.           </div>
  35.         </div>
  36.       </div>
  37.       <a id="id3424870" class="indexterm"></a>
  38.       <p>
  39.     A <span class="emphasis"><em>pattern</em></span> is an image, usually small, used
  40.     for filling regions by <span class="emphasis"><em>tiling</em></span>, that is, by
  41.     placing copies of the pattern side by side like ceramic tiles.  A
  42.     pattern is said to be <span class="emphasis"><em>tileable</em></span> if copies of
  43.     it can be adjoined left-edge-to-right-edge and
  44.     top-edge-to-bottom-edge without creating obvious seams.  Not all
  45.     useful patterns are tileable, but tileable patterns are nicest for
  46.     many purposes.  (A <span class="emphasis"><em>texture</em></span>, by the way, is
  47.     the same thing as a pattern.)
  48.   </p>
  49.       <div class="informalfigure">
  50.         <div class="mediaobject">
  51.           <img src="../images/using/patterns-usage.png" />
  52.           <div class="caption">
  53.             <p>
  54.          Three ways of using the "Leopard" pattern:  bucket-filling a
  55.          selection, painting with the Clone tool, and stroking an
  56.          elliptical selection with the pattern.
  57.        </p>
  58.           </div>
  59.         </div>
  60.       </div>
  61.       <p>
  62.     In GIMP there are three main uses for patterns:
  63.   </p>
  64.       <div class="itemizedlist">
  65.         <ul type="disc">
  66.           <li>
  67.             <p>
  68.         With the <a href="ch03s06s02.html" title="6.2.┬áBucket Fill">Bucket
  69.         Fill</a> tool, you can choose to fill a region with a
  70.         pattern instead of a solid color.
  71.       </p>
  72.           </li>
  73.           <li>
  74.             <p>
  75.         With the <a href="ch03s03s08.html" title="3.8.┬áClone Tool">Clone</a> tool,
  76.         you can paint using a pattern, with a wide variety of
  77.         paintbrush shapes.  
  78.       </p>
  79.           </li>
  80.           <li>
  81.             <p>
  82.         When you <span class="emphasis"><em>stroke</em></span> a path or selection, you
  83.         can do it with a pattern instead of a solid color.  You can
  84.         also use the Clone tool as your choice if you stroke the
  85.         selection using a painting tool.
  86.       </p>
  87.           </li>
  88.         </ul>
  89.       </div>
  90.       <p>
  91.     Note: Patterns do not need to be opaque.  If you fill or paint using a
  92.     pattern with translucent or transparent areas, then the previous
  93.     contents of the area will show through from behind it.  This is
  94.     one of many ways of doing "overlays" in GIMP.
  95.   </p>
  96.       <p>
  97.     When you install GIMP, it comes presupplied with a few dozen
  98.     patterns, which seem to have been chosen more or less randomly.
  99.     You can also add new patterns, either ones you create yourself, or
  100.     ones you download from the vast number available online.
  101.   </p>
  102.       <p>
  103.     GIMP's <span class="emphasis"><em>current pattern</em></span>, used in most
  104.     pattern-related operations, is shown in the
  105.     Brush/Pattern/Gradient area of the Toolbox.  Clicking on the
  106.     pattern symbol brings up the <a href="ch04s11.html" title="11.┬áPatterns dialog">Patterns dialog</a>, which allows
  107.     you to select a different pattern.  You can also access the
  108.     Patterns dialog by menu, or dock it so that it is present
  109.     continuously. 
  110.   </p>
  111.       <p>
  112.     To add a new pattern to the collection, so that it shows up in the
  113.     Patterns dialog, you 
  114.     need to save it in a format GIMP can use, in a folder included in
  115.     GIMP's pattern search path.  There are several file formats you can
  116.     use for patterns:
  117.   </p>
  118.       <div class="itemizedlist">
  119.         <ul type="disc">
  120.           <li>
  121.             <p><b>PAT.┬á</b>
  122.         The <tt class="filename">.pat</tt> format is used only by GIMP, so
  123.         you will not find patterns in this format unless they were
  124.         created specifically for GIMP.  You can, however, convert any
  125.         image into a <tt class="filename">.pat</tt> file by opening it in
  126.         GIMP and then saving it using a file name ending in
  127.         <tt class="filename">.pat</tt>. 
  128.         </p>
  129.           </li>
  130.           <li>
  131.             <p><b>PNG, JPEG, BMP, GIF and TIFF.┬á</b>
  132.         New in GIMP 2.2 is the ability to use
  133.         <tt class="filename">.png</tt>,  <tt class="filename">.jpg</tt>,
  134.         <tt class="filename">.bmp</tt>, <tt class="filename">.gif</tt>, or
  135.         <tt class="filename">.tiff</tt> files as patterns.  
  136.         </p>
  137.           </li>
  138.         </ul>
  139.       </div>
  140.       <p>
  141.     To make a pattern available, you place it in one of the folders in
  142.     GIMP's pattern search path. By default, the pattern search path
  143.     includes two folders, the system <tt class="filename">patterns</tt>
  144.     folder, which you should not use or alter, and the
  145.     <tt class="filename">patterns</tt> folder inside your personal GIMP
  146.     directory.  You can add new folders to the pattern search path
  147.     using the <a href="ch04s18s16.html" title="18.16.┬áData Folders">Pattern
  148.     Folders</a> page of the Preferences dialog.  Any PAT 
  149.     file (or, in GIMP 2.2, any of the other acceptable formats)
  150.     included in a folder in the pattern search path will show up 
  151.     in the Patterns dialog the next time you start GIMP.
  152.   </p>
  153.       <p>
  154.     There are countless ways of creating interesting patterns in GIMP,
  155.     using the wide variety of available tools and filters --
  156.     particularly the rendering filters.  You can find tutorials for
  157.     this in many locations, including the <a href="www.gimp.org" target="_top">Gimp home page</a>.  Some of the filters
  158.     have options that allow you to make their results tileable.  Also,
  159.     the <a href="ch06s02s07.html" title="2.7.┬áTileable Blur">Tileable Blur</a>
  160.     filter allows you to blend the edges of an image in order to make
  161.     it more smoothly tileable.
  162.   </p>
  163.       <div class="informalfigure">
  164.         <div class="mediaobject">
  165.           <img src="../images/using/pattern-script-examples.png" />
  166.           <div class="caption">
  167.             <p>
  168.           Examples of patterns created using six of the Pattern
  169.           script-fu's that come with GIMP.  Default settings were used
  170.           for everything except size.
  171.         </p>
  172.           </div>
  173.         </div>
  174.       </div>
  175.       <p>
  176.     Also of interest are a set of pattern-generating scripts that come
  177.     with GIMP:  you can find them in the Toolbox menu, under
  178.     <span class="guimenu">Xtns</span>-><span class="guisubmenu">Script-Fu</span>-><span class="guisubmenu">Patterns</span>.
  179.     Each of the scripts creates a new image filled with a particular
  180.       type of pattern:  a dialog pops up that allows you to set
  181.       parameters controlling the details of the appearance.  Some of
  182.       these patterns are most useful for cutting and pasting; others
  183.       serve best as bumpmaps.
  184.   </p>
  185.     </div>
  186.     <div class="navfooter">
  187.       <hr />
  188.       <table width="100%" summary="Navigation footer">
  189.         <tr>
  190.           <td width="40%" align="left"><a accesskey="p" href="ch02s04s09.html">Prev</a>┬á</td>
  191.           <td width="20%" align="center">
  192.             <a accesskey="u" href="ch02s04.html">Up</a>
  193.           </td>
  194.           <td width="40%" align="right">┬á<a accesskey="n" href="ch02s04s11.html">Next</a></td>
  195.         </tr>
  196.         <tr>
  197.           <td width="40%" align="left" valign="top">4.9.┬áGradients┬á</td>
  198.           <td width="20%" align="center">
  199.             <a accesskey="h" href="index.html">Home</a>
  200.           </td>
  201.           <td width="40%" align="right" valign="top">┬á4.11.┬áPalettes</td>
  202.         </tr>
  203.       </table>
  204.     </div>
  205.   </body>
  206. </html>
  207.